package com.zj.study.pojo.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author ZhaoJiu
 * @since 2021/7/21
 */
@Document
@Data
public class User {

  @Id
  private String id;

  private String username;

  private String age;

  private String gender;

  private String address;
}
